From 761dc4379eb9c856268047676f1035de6a90888a Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 4 Nov 2005 19:43:39 +0000 Subject: [PATCH] Msroute: fix endianness problem. --- msroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msroute.c b/msroute.c index ae63e4e7a..4cb5f932b 100644 --- a/msroute.c +++ b/msroute.c @@ -207,7 +207,7 @@ ole_find_property(const char *property) len = min(OLE_MAX_NAME_LENGTH, item->name_size / 2); for (j = 0; j < len; j++) - buff[j] = item->name[j]; + buff[j] = le_read16(&item->name[j]); buff[j] = '\0'; if (case_ignore_strcmp(buff, property) == 0) -- 2.30.2